package com.example.computer_exam_training_sys.service.impl;

import com.example.computer_exam_training_sys.mapper.WrongQuestionDetailMapper;
import com.example.computer_exam_training_sys.service.WrongQuestionDetailService;
import com.example.computer_exam_training_sys.vo.WrongQuestionWithDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WrongQuestionDetailServiceImpl implements WrongQuestionDetailService {

    @Autowired
    private WrongQuestionDetailMapper wrongQuestionDetailMapper;

    @Override
    public List<WrongQuestionWithDetail> ByUserId(Integer userId) {
        return wrongQuestionDetailMapper.ByUserId(userId);
    }





}
